<?php
namespace BP\Frm;
class FrmDeptCreates extends EntitiesMM {
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__I ($nodeID) // [int nodeID]
	{
		$me = new self();
		$qo = new QueryObject($me);
		$qo->AddWhere(FrmDeptCreateAttr::$FrmID, $nodeID);
		$qo->DoQuery();
		return $me;
	}
	public static function constructor__String ($StationNo) // [String StationNo]
	{
		$me = new self();
		$qo = new QueryObject($me);
		$qo->AddWhere(FrmDeptCreateAttr::$FK_Dept, $StationNo);
		$qo->DoQuery();
		return $me;
	}
	public function getNewEntity () 
	{
		return FrmDeptCreate::constructor__();
	}
	public function ToJavaList () 
	{
		return $this;
	}
	public function Tolist () 
	{
		$list = [];// 
		for ($i = 0; ($i < $this->size()); ++$i) 
		{
			$list->add($this->get($i));
		}
		return $list;
	}
}
?>
